#!/bin/sh

RSYNC=/usr/bin/rsync
SSH=/usr/bin/ssh
KEY=/home/rsync/rsync-key
RUSER=rsyncuser
RHOST=$2
RPATH=/home/lvs-rrd/performance
#WEB ROOT
LPATH=/www/TianyaLVS/LVS/$1
$RSYNC -avu -e "$SSH -i $KEY" $RUSER@$RHOST:$RPATH $LPATH
